package com.zbkj.common.enums;

public enum ZbLoginEnum {
    PHONE_CODE_NOTNULL("手机号码验证码不能为空","phone.code.notNull"),
    DISABLED("当前帐户已禁用，请与管理员联系！","current.has.disabled"),
    RE_LOGIN("用户缓存已过期，请清除缓存重新登录","user.login.again"),
    TYPE_MISMATCHED("用户的类型与缓存中的类型不符","user.type.mismatched"),
    PHONE_BINDING_GZH("该手机号已绑定微信公众号","phone.binding.gzh"),
    PHONE_BINDING_XCX("该手机号已绑定微信小程序","phone.binding.xcx"),
    PHONE_BINDING_ANDROID("该手机号已绑定微信Android","phone.binding.android"),
    PHONE_BINDING_IOS("该手机号已绑定微信IOS","phone.binding.ios"),
    PHONE_REGISTER("该手机号已被注册","phone.register"),
    PHONE_CODE_NOT_NULL("手机号、验证码不能为空","phone.code.not"),
    PHONE_NOT_NULL("手机号不能为空","phone.not"),
    CODE_NOT_NULL("小程序获取手机号code不能为空","code.not"),
    PHONE_ERROR("请认证微信账号：获取手机号码失败","phone.error"),
    ;

    private String name;
    private String code;

    ZbLoginEnum(String name, String code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
